<?php
namespace Admin\Model;
use \Think\Model;
class ActorModel extends Model
{
	protected $fields = array ('id','name','icon');
	protected $pk = 'id';
	protected $_validate = array (
			array('name','','演员名称已存在',2,'unique',1),
			array('name','require','演员名称不能为空'),
			array('icon','require','演员头像不能为空'),
		);
}